package org.ptkparty.client.request;

import java.util.List;

import org.ptkparty.client.model.PlaceProxy;
import org.ptkparty.shared.model.PlaceEntity;

import com.google.web.bindery.requestfactory.shared.InstanceRequest;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;

@Service(PlaceEntity.class)
public interface PlaceRequest extends RequestContext {

	Request<List<PlaceProxy>> getAll();

	Request<Void> save(List<PlaceProxy> list);

	InstanceRequest<PlaceProxy, Void> remove();
}
